package com.atguigu.lease.module.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@TableName(value = "city_info")
@Schema(description = "城市信息")
public class CityInfo extends BaseEntity{
    @Schema(description = "城市名称")
    private String name;
    @Schema(description = "城市所属省份")
    @TableField(value = "province_id")
    private Long provinceId;
}
